package com.sgr.dao;

import java.util.List;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Projections;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import com.sgr.dao.ItemPedidoDao;
import com.sgr.model.ItemPedido;

public interface ItemPedidoDao {

	void save(ItemPedido itped);
	void update(ItemPedido itped);
	void delete(ItemPedido itped);
	
	List findByName(String name);
	Long count();
	List findAll();
	ItemPedido findByPk(int id);
	
}
